﻿@model LastoRevival.Service.Contracts.Models.CreateForumModel
		   

@{ 
	ViewBag.Title = LanguageLoader.GetWord("CreateForumHeading");

	this.AddIndexBreadCrumb();
	this.AddCurrentBreadCrumb("Create Forum");
}

@Html.ValidationSummary()

<h1>@LanguageLoader.GetWord("CreateForumHeading")</h1>

<div id="createForumContainer">

	@using (Html.BeginForm("CreateForum", "Admin", FormMethod.Post))
	{
		<span class="form-field" id="forum-title">
			<label for="title">@LanguageLoader.GetWord("ForumTitleLabel")</label>
			@Html.TextBoxFor(m => m.Title)
			@Html.ValidationMessageFor(m => m.Title)
		</span>
	
		<span class="form-field" id="forum-description">
			<label for="description">@LanguageLoader.GetWord("ForumDescriptionLabel")</label>
			<input type="text" id="description" name="description" value="@Model.Description" />
		</span>

		<span class="form-field" id="forum-indexOrder">
			<label for="indexOrder">@LanguageLoader.GetWord("ForumIndexOrderLabel")</label>
			@Html.TextBoxFor(m => m.IndexOrder)
			@Html.ValidationMessageFor(m => m.IndexOrder)
		</span>

		<span class="button-container">
			<input type="submit" value="@LanguageLoader.GetWord("CreateButtonLabel")" />
		</span>
	
	}

</div>
